import 'package:flutter/material.dart';

class ButtonRotue extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('按钮'),
      ),
      body: Column(
        children: [
          RaisedButton(
            onPressed: () {},
            child: Text('RaisedButton'),
          ),
          FlatButton(onPressed: () {}, child: Text('FlatButton')),
          OutlineButton(
            onPressed: () {},
            child: Text('OutlineButton'),
          ),
          IconButton(onPressed: () {}, icon: Icon(Icons.thumb_up)),
          RaisedButton(
            onPressed: () {},
            child: Text('Submit'),
            // color: Colors.blue,
            color: Color(0x000000),
            highlightColor: Colors.blue[700],
            colorBrightness: Brightness.dark,
            splashColor: Colors.grey,
            shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20)),
          ),
        ],
      ),
    );
  }
}
